import { EggPlugin } from 'egg';

const plugin: EggPlugin = {
  static: true,
  nunjucks: {
    enable: true,
    package: 'egg-view-nunjucks',
  },
  assets: {
    enable: true,
    package: 'egg-view-assets',
  },
  cors: {
	  enable: true,
	  package: 'egg-cors'
	},
  validate: {
    enable: true,
    package: 'egg-validate',
  }
};

export default plugin;
